.Net Framework > v3.5.21022.8 > System > Linq > Enumerable > ToLookup<TSource,TKey,TElement> ToLookup<TSource,TKey,TElement>(IEnumerable<TSource>,Func<TSource,TKey>,Func<TSource,TElement>)
ToLookup<TSource,TKey,TElement>(IEnumerable<TSource>,Func<TSource,TKey>,Func<TSource,TElement>,IEqualityComparer<TKey>)


ToLookup<TSource,TKey,TElement>(IEnumerable<TSource>,Func<TSource,TKey>,Func<TSource,TElement>)

Category
Method
Description
Creates a System.Linq.Lookup`2 from an System.Collections.Generic.IEnumerable`1 according to specified key selector and element selector functions.
Type
System.Linq.ILookup<TKey,TElement>
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Collections.Generic.IEnumerable<TSource>
keySelectorSystem.Func<TSource,TKey>
elementSelectorSystem.Func<TSource,TElement>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

ToLookup<TSource,TKey,TElement>(IEnumerable<TSource>,Func<TSource,TKey>,Func<TSource,TElement>,IEqualityComparer<TKey>)

Category
Method
Description
Creates a System.Linq.Lookup`2 from an System.Collections.Generic.IEnumerable`1 according to a specified key selector function, a comparer and an element selector function.
Type
System.Linq.ILookup<TKey,TElement>
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Collections.Generic.IEnumerable<TSource>
keySelectorSystem.Func<TSource,TKey>
elementSelectorSystem.Func<TSource,TElement>
comparerSystem.Collections.Generic.IEqualityComparer<TKey>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database